import { defineStore } from 'pinia'

export const useModalStore = defineStore('modal', {
  state: () => ({
    showLoginModal: false
  }),
  actions: {
    openLoginModal() {
      this.showLoginModal = true
    },
    closeLoginModal() {
      this.showLoginModal = false
    }
  }
})